﻿namespace Mathmall.Administration.Models
{
    /// <summary>
    /// 商品评价
    /// </summary>
    public class SpuComment : Base
    {
        /// <summary>
        /// id
        /// </summary>
        public int SpuCommentID { get; set; }

        /// <summary>
        /// skuid
        /// </summary>
        public int? SkuID { get; set; }

        /// <summary>
        /// spuid
        /// </summary>
        public int? SpuID { get; set; }

        /// <summary>
        /// 商品名字
        /// </summary>
        public string? SpuName { get; set; }

        /// <summary>
        ///  会员昵称
        /// </summary>
        public string? MemberNickName { get; set; }

        /// <summary>
        /// 星级
        /// </summary>
        public byte? Star { get; set; }

        /// <summary>
        /// 会员ip
        /// </summary>
        public string? MemberIp { get; set; }

        /// <summary>
        /// 显示状态[0-不显示，1-显示]
        /// </summary>
        public byte? ShowStatus { get; set; }

        /// <summary>
        /// 购买时属性组合
        /// </summary>
        public string? SpuAttrbutes { get; set; }

        /// <summary>
        /// 点赞数
        /// </summary>
        public int? LikesCount { get; set; }

        /// <summary>
        /// 回复数
        /// </summary>
        public int? ReplayCount { get; set; }

        /// <summary>
        /// 评论图片/视频[json数据；[{type:文件类型,url:资源路径}]]
        /// </summary>
        public string? Resources { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string? Content { get; set; }

        /// <summary>
        /// 用户头像
        /// </summary>
        public string? MemberIcon { get; set; }

        /// <summary>
        /// 评论类型[0 - 对商品的直接评论，1 - 对评论的回复]
        /// </summary>
        public byte? CommentType { get; set; }
    }
}
